package com.example.hotelsystem.utils;

public class CodeUtil {
    // 指向自己实例的私有静态引用
    private static CodeUtil codeUtil;
    private static Object code;

    private CodeUtil(){}

    public static void setCode(Object obj){
        code = obj;
    }

    public static Object getCode(){
        return code;
    }

}
